package com.jxx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;

@JsonIgnoreProperties(ignoreUnknown=true) //表示JSON转化时忽略未知属性
@TableName("shopcart")
@Data
@Accessors(chain=true)
public class Shopcart extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer shopcartId;     //购物车编号
    private Integer userId;         //用户编号
    private Integer itemId;         //商品编号
    private Integer shopcartNum;
}
